import Bar from "../common/Bar"

export default class Syncthing {

  static selectors = {
    bar: '.alert',
  }

  static replace() {
    if (location.host === 'syncthing.net') {
      return
    }
    Bar.replace({
      barSelector: this.selectors.bar, isObserveBar: false, replaceBarCallback: () => {
        $(this.selectors.bar).css('textAlign', 'center')
      }
    })
  }
}
